\section{Tzeentch.\-Polygon Class Reference}
\label{class_tzeentch_1_1_polygon}\index{Tzeentch.\-Polygon@{Tzeentch.\-Polygon}}
Inheritance diagram for Tzeentch.\-Polygon\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_tzeentch_1_1_polygon}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Polygon} (int max\-X, int max\-Y, Random rand)
\begin{DoxyCompactList}\small\item\em Initializes a new instance of the \doxyref{Polygon}{p.}{class_tzeentch_1_1_polygon} class. \end{DoxyCompactList}\item 
object {\bf Clone} ()
\begin{DoxyCompactList}\small\item\em Creates a new object that is a copy of the current instance. \end{DoxyCompactList}\item 
void {\bf Mutate\-Move\-One\-Corner} (int min\-Move, int max\-Move, int width, int height, Random rand)
\begin{DoxyCompactList}\small\item\em Mutate the polygon by moving one of the corners. Checks bounds of a picture, but won't check whether min$<$=max. \end{DoxyCompactList}\item 
void {\bf Mutate\-Change\-Color} (int min\-Color\-Diff, int max\-Color\-Diff, Random rand)
\begin{DoxyCompactList}\small\item\em Mutate the polygon by changing the color of polygon. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
Point[$\,$] {\bf Corners}\hspace{0.3cm}{\ttfamily  [get, set]}
\begin{DoxyCompactList}\small\item\em Gets or sets the corners of the \doxyref{Polygon}{p.}{class_tzeentch_1_1_polygon}. \end{DoxyCompactList}\item 
Point {\bf Center}\hspace{0.3cm}{\ttfamily  [get]}
\begin{DoxyCompactList}\small\item\em Gets the center of the \doxyref{Polygon}{p.}{class_tzeentch_1_1_polygon}. \end{DoxyCompactList}\item 
Color {\bf Color}\hspace{0.3cm}{\ttfamily  [get, set]}
\begin{DoxyCompactList}\small\item\em Gets or sets the color. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Polygon@{Polygon}}
\index{Polygon@{Polygon}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Polygon}]{\setlength{\rightskip}{0pt plus 5cm}Tzeentch.\-Polygon.\-Polygon (
\begin{DoxyParamCaption}
\item[{int}]{max\-X, }
\item[{int}]{max\-Y, }
\item[{Random}]{rand}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_polygon_a7246ea3390492d718c36492e92a774e3}


Initializes a new instance of the \doxyref{Polygon}{p.}{class_tzeentch_1_1_polygon} class. 


\begin{DoxyParams}{Parameters}
{\em max\-X} & The max X.\\
\hline
{\em max\-Y} & The max Y.\\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Clone@{Clone}}
\index{Clone@{Clone}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Clone}]{\setlength{\rightskip}{0pt plus 5cm}object Tzeentch.\-Polygon.\-Clone (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_polygon_a14d1d3cd5dcda2b6264fddf44d47c546}


Creates a new object that is a copy of the current instance. 

\begin{DoxyReturn}{Returns}
A new object that is a copy of this instance. 
\end{DoxyReturn}
\index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Mutate\-Change\-Color@{Mutate\-Change\-Color}}
\index{Mutate\-Change\-Color@{Mutate\-Change\-Color}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Mutate\-Change\-Color}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Polygon.\-Mutate\-Change\-Color (
\begin{DoxyParamCaption}
\item[{int}]{min\-Color\-Diff, }
\item[{int}]{max\-Color\-Diff, }
\item[{Random}]{rand}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_polygon_a6f63926fb17e19c13615c69fd526adb6}


Mutate the polygon by changing the color of polygon. 


\begin{DoxyParams}{Parameters}
{\em min\-R\-Diff} & Minimal red color change.\\
\hline
{\em max\-R\-Diff} & Maximal red color change.\\
\hline
{\em min\-G\-Diff} & Minimal green color change.\\
\hline
{\em max\-G\-Diff} & Maximal green color change.\\
\hline
{\em min\-B\-Diff} & Minimal blue color change.\\
\hline
{\em max\-B\-Diff} & Maximal blue color change.\\
\hline
{\em rand} & Random generator.\\
\hline
\end{DoxyParams}
\index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Mutate\-Move\-One\-Corner@{Mutate\-Move\-One\-Corner}}
\index{Mutate\-Move\-One\-Corner@{Mutate\-Move\-One\-Corner}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Mutate\-Move\-One\-Corner}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Polygon.\-Mutate\-Move\-One\-Corner (
\begin{DoxyParamCaption}
\item[{int}]{min\-Move, }
\item[{int}]{max\-Move, }
\item[{int}]{width, }
\item[{int}]{height, }
\item[{Random}]{rand}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_polygon_a06f6408b5c2668409b8e1f9df8947c70}


Mutate the polygon by moving one of the corners. Checks bounds of a picture, but won't check whether min$<$=max. 


\begin{DoxyParams}{Parameters}
{\em min\-Move} & Minimal move in x and y (positive).\\
\hline
{\em max\-Move} & Maximal move in x and y (positive).\\
\hline
{\em width} & Width of a picture.\\
\hline
{\em height} & Height of a picture.\\
\hline
{\em rand} & Random generator.\\
\hline
\end{DoxyParams}


\subsection{Property Documentation}
\index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Center@{Center}}
\index{Center@{Center}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Center}]{\setlength{\rightskip}{0pt plus 5cm}Point Tzeentch.\-Polygon.\-Center\hspace{0.3cm}{\ttfamily [get]}}\label{class_tzeentch_1_1_polygon_aafb0a6856b86b232b67800391deaae45}


Gets the center of the \doxyref{Polygon}{p.}{class_tzeentch_1_1_polygon}. 

\index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Color@{Color}}
\index{Color@{Color}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Color}]{\setlength{\rightskip}{0pt plus 5cm}Color Tzeentch.\-Polygon.\-Color\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}\label{class_tzeentch_1_1_polygon_ad2e78cd9406366dc451820328a87e21a}


Gets or sets the color. 

The color. \index{Tzeentch\-::\-Polygon@{Tzeentch\-::\-Polygon}!Corners@{Corners}}
\index{Corners@{Corners}!Tzeentch::Polygon@{Tzeentch\-::\-Polygon}}
\subsubsection[{Corners}]{\setlength{\rightskip}{0pt plus 5cm}Point [$\,$] Tzeentch.\-Polygon.\-Corners\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}\label{class_tzeentch_1_1_polygon_a6a3efab646dd5167652fe818b2c0e001}


Gets or sets the corners of the \doxyref{Polygon}{p.}{class_tzeentch_1_1_polygon}. 

The corners. 

T\-O\-D\-O? probably should be list (like it matters in .net) 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
G\-:/format backup/projekty/\-Tzeentch/trunk/\-Tzeentch/\-Tzeentch/Polygon.\-cs\end{DoxyCompactItemize}
